package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/16 .
 */

public class PrintLastInfo {

    /**
     * message : 获取订单成功
     * allOrder : {"id":"","orderId":"P635616360491134976","upOrderId":"351144184308","channelId":"XL","bankAccount":"6210817200014455164","bank":"建设银行(01050000)","merchantId":"616072040100005","payTime":"2016-12-16 14:47:38","payMoney":0.01,"state":"0","posId":"N9NL10087289","cashier":"13912345678","merchantName":"威富通对私测试","lowOrderId":"000002","countNum":"","amount":"","terminalId":""}
     * status : 100
     */

    private String message;
    private PrintRepeat allOrder;
    private int status;

    public static PrintLastInfo objectFromData(String str) {

        return new Gson().fromJson(str, PrintLastInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public PrintRepeat getPrintRepeat() {
        return allOrder;
    }

    public void setPrintRepeat(PrintRepeat allOrder) {
        this.allOrder = allOrder;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
